﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Konstaller
{
    public class Label
    {
        private string txt = "Label";


        public string Text
        {
            get { return txt; }
            set { txt = value; }
        }

        /// <summary>
        /// Draw Method
        /// </summary>
        /// <param name="x">X Position</param>
        /// <param name="y">Y Position</param>
        /// <param name="Color">Text Color</param>
        /// <param name="Background">Background Color</param>
        public void Draw(int x, int y,ConsoleColor Color,ConsoleColor Background)
        {

            Console.SetCursorPosition(x, y);
            Console.BackgroundColor = Background;
            Console.ForegroundColor = Color;

            Console.Write(Text);
        }
    }
}
